package xjtu.se.articlecommunity.user.login.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import xjtu.se.articlecommunity.user.login.dto.CodeLoginDto;

public interface CodeLoginDao {
    @Select("select count(u_passwd) from t_user where u_mail=#{mail}")
    String  password(@Param("mail") String mail);

    @Select("select count(u_passwd) from t_user where u_mail=#{tel}")
    String  password2(@Param("tel") String tel);
}
